/*
 * SPDX-License-Identifier: BSD-3-Clause
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. All rights reserved.
 * Description   : udk defines
 */
#ifndef UDK_H
#define UDK_H

#include "udk_common.h"
#include "udk_mcfg.h"

struct udk_config {
    enum udk_proc_type_t process_type;
    struct udk_mem_config *mem_config;
} __attribute__((__packed__));

struct udk_config *udk_get_configuration(void);
uint32_t udk_page_size(void);
int udk_has_hugepages(void);

#endif /* UDK_H */
